package com.ymttest.database.sharding.db.sharding.model;

import java.math.BigDecimal;
import java.util.Date;

public class RefundBillPo {
    /**
     * refund_bill_no VARCHAR(50) 必填<br>
     * 退款单号
     */
    private String refundBillNo;

    /**
     * order_id BIGINT(19) 必填<br>
     * 订单号
     */
    private Long orderId;

    /**
     * total_amount DECIMAL(18,2) 必填<br>
     * 退款总金额
     */
    private BigDecimal totalAmount;

    /**
     * account_amount DECIMAL(18,2) 必填<br>
     * 用户退款金额
     */
    private BigDecimal accountAmount;

    /**
     * thirdparty_amount DECIMAL(18,2) 必填<br>
     * 用户第三方退款金额
     */
    private BigDecimal thirdpartyAmount;

    /**
     * card_amount DECIMAL(18,2) 必填<br>
     * 退回预付卡金额
     */
    private BigDecimal cardAmount;

    /**
     * user_id BIGINT(19) 必填<br>
     * 用户Id
     */
    private Long userId;

    /**
     * seller_id BIGINT(19) 必填<br>
     * 买手Id
     */
    private Long sellerId;

    /**
     * refund_status INTEGER(10)<br>
     * 
     */
    private Integer refundStatus;

    /**
     * refund_bill_status INTEGER(10) 必填<br>
     * 1：退货退款中 10：退货退款完成 -10：退货退款拒绝
     */
    private Integer refundBillStatus;

    /**
     * catalog_id VARCHAR(50) 必填<br>
     * 规格Id
     */
    private String catalogId;

    /**
     * product_count INTEGER(10) 必填<br>
     * 退商品数量
     */
    private Integer productCount;

    /**
     * topspeed_refund BIT(1) 必填<br>
     * 是否极速退款
     */
    private Boolean topspeedRefund;

    /**
     * deducted_coupon_amount DECIMAL(18,2) 必填<br>
     * 从买手已结算金额扣回优惠券金额
     */
    private BigDecimal deductedCouponAmount;

    /**
     * no_settlement_coupon_amount DECIMAL(18,2) 必填<br>
     * 无需结算给买手优惠券金额
     */
    private BigDecimal noSettlementCouponAmount;

    /**
     * deducted_promotion_amount DECIMAL(18,2)<br>
     * 从买手已结算金额扣回平台优惠金额
     */
    private BigDecimal deductedPromotionAmount;

    /**
     * no_settlement_promotion_amount DECIMAL(18,2)<br>
     * 无需结算给买手平台优惠金额
     */
    private BigDecimal noSettlementPromotionAmount;

    /**
     * thirdparty_discount DECIMAL(18,2) 必填<br>
     * 退回第三方优惠金额
     */
    private BigDecimal thirdpartyDiscount;

    /**
     * freight DECIMAL(18,2) 必填<br>
     * 退运费金额
     */
    private BigDecimal freight;

    /**
     * after_receiving BIT(1) 必填<br>
     * 是否确认收货后退货退款
     */
    private Boolean afterReceiving;
    
    /**
     * rebate_amount DECIMAL(18,2) 必填<br>
     * 返点金额
     */
    private BigDecimal rebateAmount;

    /**
     * fail_code
     * 失败原因code
     */
    private Integer failCode;
    
    /**
     * fail_reason
     * 失败原因
     */
    private String failReason;
    
    /**
     * tax
     * 退税费
     */
    private BigDecimal tax;
    
    /**
     * product_amount
     * 退商品金额
     */
    private BigDecimal productAmount;
    
    /**
     * 退回的买家鉴别费
     */
    private BigDecimal userAuthenticateFee;
    
    /**
     * 0默认 1鉴别中心退款
     */
    private Integer refundType;
    
    /**
     * 退款积分数
     */
    private Long refundIntegral;
    
    /**
     * add_time TIMESTAMP(19) 默认值[CURRENT_TIMESTAMP] 必填<br>
     * 新增时间
     */
    private Date addTime;

    /**
     * update_time TIMESTAMP(19) 默认值[CURRENT_TIMESTAMP] 必填<br>
     * 更新时间
     */
    private Date updateTime;
    
    /**
     * 中免扣回积分不够补款金额
     */
    private BigDecimal cdfFilleAmount;

    /**
     * 返库存状态
     */
    private Integer returnStockStatus;
    
    /**
     * 返库存成功时间
     */
    private Date returnStockSuccessTime;
    
    /**
     * 是否是超卖，只有部分商品退款时，此值为前端传递值，可能为true，其他时候皆为false
     */
    private Boolean overSell;
    
    /**
     * 申请人id
     */
    private Long applierId;
    
    /**
     * 退的买家服务费
     */
    private BigDecimal refundServiceAmount;
    
    /**
     * refund_bill_no VARCHAR(50) 必填<br>
     * 获得 退款单号
     */
    public String getRefundBillNo() {
        return refundBillNo;
    }

    /**
     * refund_bill_no VARCHAR(50) 必填<br>
     * 设置 退款单号
     */
    public void setRefundBillNo(String refundBillNo) {
        this.refundBillNo = refundBillNo == null ? null : refundBillNo.trim();
    }

    /**
     * order_id BIGINT(19) 必填<br>
     * 获得 订单号
     */
    public Long getOrderId() {
        return orderId;
    }

    /**
     * order_id BIGINT(19) 必填<br>
     * 设置 订单号
     */
    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    /**
     * total_amount DECIMAL(18,2) 必填<br>
     * 获得 退款总金额
     */
    public BigDecimal getTotalAmount() {
        return totalAmount;
    }

    /**
     * total_amount DECIMAL(18,2) 必填<br>
     * 设置 退款总金额
     */
    public void setTotalAmount(BigDecimal totalAmount) {
        this.totalAmount = totalAmount;
    }

    /**
     * account_amount DECIMAL(18,2) 必填<br>
     * 获得 用户退款金额
     */
    public BigDecimal getAccountAmount() {
        return accountAmount;
    }

    /**
     * account_amount DECIMAL(18,2) 必填<br>
     * 设置 用户退款金额
     */
    public void setAccountAmount(BigDecimal accountAmount) {
        this.accountAmount = accountAmount;
    }

    /**
     * thirdparty_amount DECIMAL(18,2) 必填<br>
     * 获得 用户第三方退款金额
     */
    public BigDecimal getThirdpartyAmount() {
        return thirdpartyAmount;
    }

    /**
     * thirdparty_amount DECIMAL(18,2) 必填<br>
     * 设置 用户第三方退款金额
     */
    public void setThirdpartyAmount(BigDecimal thirdpartyAmount) {
        this.thirdpartyAmount = thirdpartyAmount;
    }

    /**
     * card_amount DECIMAL(18,2) 必填<br>
     * 获得 退回预付卡金额
     */
    public BigDecimal getCardAmount() {
        return cardAmount;
    }

    /**
     * card_amount DECIMAL(18,2) 必填<br>
     * 设置 退回预付卡金额
     */
    public void setCardAmount(BigDecimal cardAmount) {
        this.cardAmount = cardAmount;
    }

    /**
     * user_id BIGINT(19) 必填<br>
     * 获得 用户Id
     */
    public Long getUserId() {
        return userId;
    }

    /**
     * user_id BIGINT(19) 必填<br>
     * 设置 用户Id
     */
    public void setUserId(Long userId) {
        this.userId = userId;
    }

    /**
     * seller_id BIGINT(19) 必填<br>
     * 获得 买手Id
     */
    public Long getSellerId() {
        return sellerId;
    }

    /**
     * seller_id BIGINT(19) 必填<br>
     * 设置 买手Id
     */
    public void setSellerId(Long sellerId) {
        this.sellerId = sellerId;
    }

    /**
     * refund_status INTEGER(10)<br>
     * 获得 
     */
    public Integer getRefundStatus() {
        return refundStatus;
    }

    /**
     * refund_status INTEGER(10)<br>
     * 设置 
     */
    public void setRefundStatus(Integer refundStatus) {
        this.refundStatus = refundStatus;
    }

    /**
     * refund_bill_status INTEGER(10) 必填<br>
     * 获得 1：退货退款中 10：退货退款完成 -10：退货退款拒绝
     */
    public Integer getRefundBillStatus() {
        return refundBillStatus;
    }

    /**
     * refund_bill_status INTEGER(10) 必填<br>
     * 设置 1：退货退款中 10：退货退款完成 -10：退货退款拒绝
     */
    public void setRefundBillStatus(Integer refundBillStatus) {
        this.refundBillStatus = refundBillStatus;
    }

    /**
     * catalog_id VARCHAR(50) 必填<br>
     * 获得 规格Id
     */
    public String getCatalogId() {
        return catalogId;
    }

    /**
     * catalog_id VARCHAR(50) 必填<br>
     * 设置 规格Id
     */
    public void setCatalogId(String catalogId) {
        this.catalogId = catalogId == null ? null : catalogId.trim();
    }

    /**
     * product_count INTEGER(10) 必填<br>
     * 获得 退商品数量
     */
    public Integer getProductCount() {
        return productCount;
    }

    /**
     * product_count INTEGER(10) 必填<br>
     * 设置 退商品数量
     */
    public void setProductCount(Integer productCount) {
        this.productCount = productCount;
    }

    /**
     * topspeed_refund BIT(1) 必填<br>
     * 获得 是否极速退款
     */
    public Boolean getTopspeedRefund() {
        return topspeedRefund;
    }

    /**
     * topspeed_refund BIT(1) 必填<br>
     * 设置 是否极速退款
     */
    public void setTopspeedRefund(Boolean topspeedRefund) {
        this.topspeedRefund = topspeedRefund;
    }

    /**
     * deducted_coupon_amount DECIMAL(18,2) 必填<br>
     * 获得 从买手已结算金额扣回优惠券金额
     */
    public BigDecimal getDeductedCouponAmount() {
        return deductedCouponAmount;
    }

    /**
     * deducted_coupon_amount DECIMAL(18,2) 必填<br>
     * 设置 从买手已结算金额扣回优惠券金额
     */
    public void setDeductedCouponAmount(BigDecimal deductedCouponAmount) {
        this.deductedCouponAmount = deductedCouponAmount;
    }

    /**
     * no_settlement_coupon_amount DECIMAL(18,2) 必填<br>
     * 获得 无需结算给买手优惠券金额
     */
    public BigDecimal getNoSettlementCouponAmount() {
        return noSettlementCouponAmount;
    }

    /**
     * no_settlement_coupon_amount DECIMAL(18,2) 必填<br>
     * 设置 无需结算给买手优惠券金额
     */
    public void setNoSettlementCouponAmount(BigDecimal noSettlementCouponAmount) {
        this.noSettlementCouponAmount = noSettlementCouponAmount;
    }

    /**
     * deducted_promotion_amount DECIMAL(18,2)<br>
     * 获得 从买手已结算金额扣回平台优惠金额
     */
    public BigDecimal getDeductedPromotionAmount() {
        return deductedPromotionAmount;
    }

    /**
     * deducted_promotion_amount DECIMAL(18,2)<br>
     * 设置 从买手已结算金额扣回平台优惠金额
     */
    public void setDeductedPromotionAmount(BigDecimal deductedPromotionAmount) {
        this.deductedPromotionAmount = deductedPromotionAmount;
    }

    /**
     * no_settlement_promotion_amount DECIMAL(18,2)<br>
     * 获得 无需结算给买手平台优惠金额
     */
    public BigDecimal getNoSettlementPromotionAmount() {
        return noSettlementPromotionAmount;
    }

    /**
     * no_settlement_promotion_amount DECIMAL(18,2)<br>
     * 设置 无需结算给买手平台优惠金额
     */
    public void setNoSettlementPromotionAmount(BigDecimal noSettlementPromotionAmount) {
        this.noSettlementPromotionAmount = noSettlementPromotionAmount;
    }

    /**
     * thirdparty_discount DECIMAL(18,2) 必填<br>
     * 获得 退回第三方优惠金额
     */
    public BigDecimal getThirdpartyDiscount() {
        return thirdpartyDiscount;
    }

    /**
     * thirdparty_discount DECIMAL(18,2) 必填<br>
     * 设置 退回第三方优惠金额
     */
    public void setThirdpartyDiscount(BigDecimal thirdpartyDiscount) {
        this.thirdpartyDiscount = thirdpartyDiscount;
    }

    /**
     * freight DECIMAL(18,2) 必填<br>
     * 获得 退运费金额
     */
    public BigDecimal getFreight() {
        return freight;
    }

    /**
     * freight DECIMAL(18,2) 必填<br>
     * 设置 退运费金额
     */
    public void setFreight(BigDecimal freight) {
        this.freight = freight;
    }

    /**
     * after_receiving BIT(1) 必填<br>
     * 获得 是否确认收货后退货退款
     */
    public Boolean getAfterReceiving() {
        return afterReceiving;
    }

    /**
     * after_receiving BIT(1) 必填<br>
     * 设置 是否确认收货后退货退款
     */
    public void setAfterReceiving(Boolean afterReceiving) {
        this.afterReceiving = afterReceiving;
    }

    /**
     * add_time TIMESTAMP(19) 默认值[CURRENT_TIMESTAMP] 必填<br>
     * 获得 新增时间
     */
    public Date getAddTime() {
        return addTime;
    }

    /**
     * add_time TIMESTAMP(19) 默认值[CURRENT_TIMESTAMP] 必填<br>
     * 设置 新增时间
     */
    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }

    /**
     * update_time TIMESTAMP(19) 默认值[CURRENT_TIMESTAMP] 必填<br>
     * 获得 更新时间
     */
    public Date getUpdateTime() {
        return updateTime;
    }

    /**
     * update_time TIMESTAMP(19) 默认值[CURRENT_TIMESTAMP] 必填<br>
     * 设置 更新时间
     */
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public BigDecimal getRebateAmount() {
		return rebateAmount;
	}

	public void setRebateAmount(BigDecimal rebateAmount) {
		this.rebateAmount = rebateAmount;
	}

	public Integer getFailCode() {
		return failCode;
	}

	public void setFailCode(Integer failCode) {
		this.failCode = failCode;
	}

	public String getFailReason() {
		return failReason;
	}

	public void setFailReason(String failReason) {
		this.failReason = failReason;
	}

	public BigDecimal getTax() {
		return tax;
	}

	public void setTax(BigDecimal tax) {
		this.tax = tax;
	}

	public BigDecimal getProductAmount() {
		return productAmount;
	}

	public void setProductAmount(BigDecimal productAmount) {
		this.productAmount = productAmount;
	}

	public BigDecimal getUserAuthenticateFee() {
		return userAuthenticateFee;
	}

	public void setUserAuthenticateFee(BigDecimal userAuthenticateFee) {
		this.userAuthenticateFee = userAuthenticateFee;
	}

	public Integer getRefundType() {
		return refundType;
	}

	public void setRefundType(Integer refundType) {
		this.refundType = refundType;
	}

	public Long getRefundIntegral() {
		return refundIntegral;
	}

	public void setRefundIntegral(Long refundIntegral) {
		this.refundIntegral = refundIntegral;
	}

	public BigDecimal getCdfFilleAmount() {
		return cdfFilleAmount;
	}

	public void setCdfFilleAmount(BigDecimal cdfFilleAmount) {
		this.cdfFilleAmount = cdfFilleAmount;
	}

	public Integer getReturnStockStatus() {
		return returnStockStatus;
	}

	public void setReturnStockStatus(Integer returnStockStatus) {
		this.returnStockStatus = returnStockStatus;
	}

	public Date getReturnStockSuccessTime() {
		return returnStockSuccessTime;
	}

	public void setReturnStockSuccessTime(Date returnStockSuccessTime) {
		this.returnStockSuccessTime = returnStockSuccessTime;
	}

	public Boolean getOverSell() {
		return overSell;
	}

	public void setOverSell(Boolean overSell) {
		this.overSell = overSell;
	}

	public Long getApplierId() {
		return applierId;
	}

	public void setApplierId(Long applierId) {
		this.applierId = applierId;
	}

	public BigDecimal getRefundServiceAmount() {
		return refundServiceAmount;
	}

	public void setRefundServiceAmount(BigDecimal refundServiceAmount) {
		this.refundServiceAmount = refundServiceAmount;
	}

	@Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", refundBillNo=").append(refundBillNo);
        sb.append(", orderId=").append(orderId);
        sb.append(", totalAmount=").append(totalAmount);
        sb.append(", accountAmount=").append(accountAmount);
        sb.append(", thirdpartyAmount=").append(thirdpartyAmount);
        sb.append(", cardAmount=").append(cardAmount);
        sb.append(", userId=").append(userId);
        sb.append(", sellerId=").append(sellerId);
        sb.append(", refundStatus=").append(refundStatus);
        sb.append(", refundBillStatus=").append(refundBillStatus);
        sb.append(", catalogId=").append(catalogId);
        sb.append(", productCount=").append(productCount);
        sb.append(", topspeedRefund=").append(topspeedRefund);
        sb.append(", deductedCouponAmount=").append(deductedCouponAmount);
        sb.append(", noSettlementCouponAmount=").append(noSettlementCouponAmount);
        sb.append(", deductedPromotionAmount=").append(deductedPromotionAmount);
        sb.append(", noSettlementPromotionAmount=").append(noSettlementPromotionAmount);
        sb.append(", thirdpartyDiscount=").append(thirdpartyDiscount);
        sb.append(", freight=").append(freight);
        sb.append(", afterReceiving=").append(afterReceiving);
        sb.append(", rebateAmount=").append(this.rebateAmount);
        sb.append(", failCode=").append(this.failCode);
        sb.append(", failReason=").append(this.failReason);
        sb.append(", tax=").append(this.tax);
        sb.append(", productAmount=").append(this.productAmount);
        sb.append(", addTime=").append(addTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", userAuthenticateFee=").append(this.userAuthenticateFee);
        sb.append(", refundType=").append(this.refundType);
        sb.append(", refundIntegral=").append(this.refundIntegral);
        sb.append(", cdfFilleAmount=").append(this.cdfFilleAmount);
        sb.append(", returnStockStatus=").append(this.returnStockStatus);
        sb.append(", returnStockSuccessTime=").append(this.returnStockSuccessTime);
        
        sb.append(", overSell=").append(this.overSell);
        sb.append(", applierId=").append(this.applierId);
        
        sb.append(", refundServiceAmount=").append(this.refundServiceAmount);
        
        sb.append("]");
        return sb.toString();
    }
}